package com.treasure.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.treasure.common.model.PageResult;
import com.treasure.infrastructure.model.po.CorpTrialApprove;
import com.treasure.web.command.request.CreateCorpAccountRequest;
import com.treasure.web.command.request.GetTrialApproveRequest;
import com.treasure.web.command.response.CorpTrialApproveResponse;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sunhongmin
 * @since 2024-01-01
 */
public interface ICorpTrialApproveService extends IService<CorpTrialApprove> {

    /**
     * 企业申请试用
     * @param createCorpAccountRequest
     */
    void corpTrialApprove(CreateCorpAccountRequest createCorpAccountRequest);

    /**
     * 企业申请试用列表
     *
     * @return
     */
    PageResult<CorpTrialApproveResponse> corpTrialApproveList(GetTrialApproveRequest getTrialApproveRequest);

    /**
     * 试用审核通过
     */
    void corpTrialApproved(List<Integer> idList);
}
